package cn.edu.hqu.javaee.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;




@Entity
@Table(name="studentinformation")
public class Student {
	@Id
	@Column(name="id")
	private String StudentId;
	
	@Column(name="name")
	private String StudentName;
	
	@Column(name="age")
	private String StudentAge;
	
	@Column(name="major")
	private String StudentMajor;
	
	@Column(name="colle")
	private String StudentCollege;

	public void setName(String string) {
		this.StudentName=string;		
	}
	public String getName() {		
		return StudentName;
	}
	public void setId(String string) {
		this.StudentId=string;
		
	}
	public String getId() {		
		return StudentId;
	}
	public void setAge(String string) {
		this.StudentAge=string;
		
	}
	public String getAge() {		
		return StudentAge;
	}
	public void setMajor(String string) {
		this.StudentMajor=string;		
	}
	public String getMajor() {		
		return StudentMajor;
	}
	public void setCollege(String string) {
		this.StudentCollege=string;
		
	}
	public String getCollege() {		
		return StudentCollege;
	}
}
